
.PHONY:all
all: server testcgi
server:Main.cpp
	g++ -o $@ $^ -std=c++11 -lpthread
testcgi:cgi/test_cgi.cc
	g++ -o $@ $^ -std=c++11 
.PHONY:clean
clean:
	rm -rf server testcgi output
.PHONY:output
output:
	mkdir -p output
	cp -rf wwwroot output/
	cp testcgi output/wwwroot/
	cp server output/

